package com.onesports.intelligent.k12.polarlight.domain.vo.course;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.Instant;
import java.util.Date;


/**
 * 排班模板表
 *
 * @author
 * @since 1.0.0 2022-07-08
 */
@Data
@ApiModel(value = "排班模板表")
public class CourseScheduleTemplateVO {
    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "排班模板id")
    private String id;


    @ApiModelProperty(value = "节次code取字典")
    private String sectionCode;

    @ApiModelProperty(value = "节次名称")
    private String sectionName;


    @ApiModelProperty(value = "开始时间(时分)")
    @JsonFormat(pattern = "HH:mm")
    private Date startTime;


    @ApiModelProperty(value = "结束时间(时分)")
    @JsonFormat(pattern = "HH:mm")
    private Date endTime;

    @ApiModelProperty(value = "创建者")
    private String createdBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间")
    private Instant createdDate;

    @ApiModelProperty(value = "更新者")
    private String lastModifiedBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "修改时间")
    private Instant lastModifiedDate;

}
